package com.jf.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jf.blog.bean.Blog;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 博客表 Mapper 接口
 * </p>
 *
 * @author JF
 * @since 2025-06-20
 */
public interface BlogMapper extends BaseMapper<Blog> {
    IPage<Blog> getPage(@Param("page") Page<Blog> page, @Param("tagId") int tagId, @Param("vipId") int vipId);

    int updateReadCountInt(int blogId);


}
